<template>
	<view class="videobox">
		<pagetabbar :currentIndex="currentIndex" :unread="unread" @lai='lai'></pagetabbar>
	</view>

</template>

<script>
	var _this, $paginator, $paginator2, shak;
	export default {
		data() {
			return {
				unread: "",
				currentIndex: 1,
				navH: 0,
			}
		},
		onLoad(e) {
			_this = this
			$paginator = new _this.$paginator(_this.$api)
			console.log("短视频");
			const subnvue = uni.getSubNVueById('concat') // 获取nvue
			subnvue.show() // 显示nvue  
			subnvue.setStyle({
				bottom: '65px',
				// top: 0
			})
		},

		methods: {

			// 导航栏传参
			lai(item) {
				console.log(11111);
				const subnvue = uni.getSubNVueById('concat') // 获取nvue
				console.log(item)
				if(item==true){
					subnvue.hide('concat')
				}else{
					subnvue.show()
				}
			},
		}
	}
</script>

<style lang="scss" scoped>
	.videobox {
		display: flex;
		flex-direction: column;
	}
</style>
